package mc;

public class Main {
    public static void main(String[] args) {
        // 预备阶段
        Manager manager = new Manager();
        Clay clay = new Clay("./clay.png", 10);
        Rock rock = new Rock("./rock.png", 50);
        manager.register("clay", clay);
        manager.register("rock", rock);

        // 实现部分
        Block block1 = manager.create("clay");
        Block block2 = manager.create("rock");
        block1.putDown();
        block2.putDown();
    }
}
